#!/usr/bin/perl

# (c) 2007 by J.P. Peach & Associates
# All rights reserved

# Print a basic template of the jppeach.com webpage listing the daily bandwidth graphs
#
# Set $Title as the title to use at the top of the page as a header

use File::Basename;

###################
# Defines
###################
$true = 1;
$false = 0;

###################
# Options
###################

$Title = "Daily Bandwidth Graphs";    
$LabelParentDir = "&lt;UP&gt;";                 # Label to replace ".." (HTML)

# Get the directory as that as the date
($name,$path,$suffix) = fileparse($ENV{REQUEST_URI});
@paths = split(/\//, $path);
$SubTitle = $paths[$#paths];

# HTML Styles
$LabelClass = "bodycopy";						# html class to use for the labelextensions
$DirClass = "DirLink";                                                  # html class to use for a dir

###################################################################################
#                                                                                 #
# THERE IS PROBABLY NO NEED TO EDIT BELOW THIS LINE                               #
###################################################################################

print "Content-type: text/html\n\n";

print << "__END__";

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML lang="en-us">
<HEAD>
	<META NAME="robots" CONTENT="index, follow">
	<META NAME="keywords" CONTENT="J.P. Peach and Associates, design, logo, solutions, creative, internet, free estimate, burlington, vermont, VT, designer, interactive, database, program, hosting, domain, style, dynamic, web hosting">
	<META NAME="description" CONTENT="Providing custom design services to businesses and individuals. We specialize in website development, graphic design, e-commerce solutions, maintenance, domain registration and hosting. Request your free estimate today.">
	<META NAME="Author" CONTENT="J.P. Peach and Associates">
	<META NAME="copywrite" CONTENT="All materials on this website is copyright 2000-2002 by J.P. Peach and Associates. All rights reserved.">

	<title>J.P. Peach &amp; Associates</title>
  	<link rel=StyleSheet HREF="http://www.jppeach.net/jppeach.css" TYPE="text/css">
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" BGCOLOR="#FFFFFF" onLoad='loaded=true;'>
<table cellpadding=0 cellspacing=0 border=0 width=100%>
	<tr bgcolor="#FD8429"> 
		<td height=5 colspan=3>
			<img src="http://www.jppeach.net/images/border.gif" alt="border" height=5>
		</td>
	</tr>
	<tr>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
		<td>
			<img src="http://www.jppeach.net/images/header.jpg" alt="J.P. Peach & Associates Logo" width=500 height=167>
		</td>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
	</tr>
	<tr>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
		<td align=center>
			<font size=5>$Title</font><br>
			<font size=3>$SubTitle</font><br>
			<br>
		</td>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
	</tr>
        <tr>
                <td width=5 bgcolor="#FD8429">
                        <img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
                </td>
                <td align=left>
                	<a href=".." class=$DirClass>$LabelParentDir</a>
		</td>
                <td width=5 bgcolor="#FD8429">
                        <img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
                </td>
        </tr>

	<tr>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
		<td align=left>
			<table border=0 cellspacing=0 cellpadding=0 width="100%">
                                <tr><td align=center nowrap><font class=$LabelClass>Month to Date</td></tr>
				<tr><td align=center nowrap><img src="monthtodate.png" border=0 alt="Month To Date" width=495 height=233></td></tr>
                                <tr><td align=right nowrap>&nbsp;</td></tr>

                                <tr><td align=center nowrap><font class=$LabelClass>Hourly</td></tr>
                                <tr><td align=center nowrap><img src="hourly.png" border=0 alt="Hourly" width=495 height=207></td></tr>
                                <tr><td align=right nowrap>&nbsp;</td></tr>


                                <tr><td align=center nowrap><font class=$LabelClass>Daily</td></tr>
                                <tr><td align=center nowrap><img src="daily.png" border=0 alt="Daily" width=495 height=207></td></tr>
                                <tr><td align=right nowrap>&nbsp;</td></tr>


                                <tr><td align=center nowrap><font class=$LabelClass>Weekly</td></tr>
                                <tr><td align=center nowrap><img src="weekly.png" border=0 alt="Weekly" width=495 height=207></td></tr>
                                <tr><td align=right nowrap>&nbsp;</td></tr>

                                <tr><td align=center nowrap><font class=$LabelClass>Monthly</td></tr>
                                <tr><td align=center nowrap><img src="monthly.png" border=0 alt="Monthly" width=495 height=207></td></tr>
                                <tr><td align=right nowrap>&nbsp;</td></tr>

			</table>
			<br>
		</td>
		<td width=5 bgcolor="#FD8429">
			<img src="http://www.jppeach.net/images/border.gif" alt="border" width=5>
		</td>
	</tr>
	<tr bgcolor="#FD8429">
		<td height=5 colspan=3>
			<img src="http://www.jppeach.net/images/border.gif" alt="border"  height=5>
		</td>
	</tr>
</table>
</body>
</html>
__END__
